How to find the zeros and multiplicity from a graph